<template>
    <view class="loading_content" :class="{ loading_mask: mask && status, loading_actived: status }">
        <image src="/static/loading/loading2.gif" class="loading_img"></image>
    </view>
</template>
<script setup>
import { computed } from 'vue';
import store from '@/store';

const loadingStore = store.useLoadingStore();

const status = computed(() => {
    return loadingStore.status;
});

const mask = computed(() => {
    return loadingStore.mask;
});
</script>
<style lang="scss" src="./index.scss" scoped></style>
